package models;

import java.util.Date;

import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.jpa.Model;

@javax.persistence.Entity
public class OrderItem extends Model {
	@ManyToOne
	public User user;
	@ManyToOne
	public Food food;
	@Temporal(TemporalType.TIMESTAMP)
	public Date add_date;
	
	public String ip;
}
